From ca7a6b3eb20707df25761dc866f9e23884e0183c Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 6 Mar 2007 16:46:20 +0000 Subject: [PATCH] Make Python tools (i.e., xend and pygrub) conditionally compiled. Config option is PYTHON_TOOLS, default is 'y'. Signed-off-by: Ben Thomas --- Config.mk | 7 ++++--- tools/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Config.mk b/Config.mk index 7474ce19c5..6f9f970fe6 100644 --- a/Config.mk +++ b/Config.mk @@ -73,9 +73,10 @@ ACM_SECURITY ?= n ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_POLICY # Optional components -XENSTAT_XENTOP ?= y -VTPM_TOOLS ?= n +XENSTAT_XENTOP ?= y +VTPM_TOOLS ?= n LIBXENAPI_BINDINGS ?= n -XENFB_TOOLS ?= n +XENFB_TOOLS ?= n +PYTHON_TOOLS ?= y -include $(XEN_ROOT)/.config diff --git a/tools/Makefile b/tools/Makefile index b4156fc904..7cd81f87bf 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -24,8 +24,8 @@ SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen # These don't cross-compile ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) -SUBDIRS-y += python -SUBDIRS-y += pygrub +SUBDIRS-$(PYTHON_TOOLS) += python +SUBDIRS-$(PYTHON_TOOLS) += pygrub endif .PHONY: all -- 2.30.2